<?php
return array(
	'attributeLabels' => array(
		'nickname' => '昵称'
	),
	'rules' => array(
		array('nickname, gender, email, mobile,realname','required'),
		array('nickname', 'length', 'max'=>30),
		array('email','email','allowEmpty'=>true,'message'=>'邮箱格式不正确'),
		array('website','url'),
		PregRules::telephoneRules('tel'),
		PregRules::telephoneRules('fax'),
		PregRules::zipCodeRules('zipcode'),
		PregRules::phoneRules('mobile'),
	),
	
	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);